Expand description
A vector of bits (“Vob”) is a sequence of bits which exposes a Vec
-like interface. Whereas
Vec<bool>
requires 1 byte of storage per bit, Vob
requires only 1 bit of storage per bit.
The main documentation for this crate can be found in the Vob
struct.
Macros
- Create a
Vob
from a list of boolean values.
Structs
- A Vob is a “vector of bits”: a sequence of bits which exposes a
Vec
-like interface. WhereasVec<bool>
requires 1 byte of storage per bit,Vob
requires only 1 bit of storage per bit. For larger numbers of bits, Vobs can lead to a significant memory decrease and performance increase.